package cn.iocoder.yudao.module.crossborder.compliance.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 合规检查 DTO
 *
 * @author LHL
 */
@Schema(description = "RPC 服务 - 合规检查 DTO")
@Data
public class ComplianceCheckDTO {

    @Schema(description = "合规检查编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "商品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    private Long productId;

    @Schema(description = "国家代码", requiredMode = Schema.RequiredMode.REQUIRED, example = "US")
    private String countryCode;

    @Schema(description = "检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer checkType;

    @Schema(description = "检查状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "检查结果", example = "合规检查通过")
    private String result;

    @Schema(description = "检查详情", example = "所有必要的证书和文件都已提供")
    private String details;

    @Schema(description = "风险等级", example = "1")
    private Integer riskLevel;

    @Schema(description = "建议措施", example = "建议定期更新证书")
    private String recommendations;

    @Schema(description = "检查人员", example = "张三")
    private String checker;

    @Schema(description = "检查时间")
    private LocalDateTime checkTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
